import React from "react";
import { Router, Route, Link } from "react-router-dom";

class App extends React.Component {
  render() {
    return (
      <div>
        <h1>App</h1>
        <ul>
          <li>
            <Link to="/static">static</Link>
          </li>
          <li>
            <Link to="/list">list</Link>
          </li>
        </ul>
        {this.props.children}
      </div>
    );
  }
}

export default App;